package com.itheima.service;

import com.itheima.User;
import com.itheima.mapper.UserMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class UserServiceImp implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(String username, String passoword) {
        return userMapper.find(username,passoword);
    }
}
